<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script src="../com/ImageMultiLoader.js"></script>
<script src="../util/NumberUtil.js"></script>
<script src="../com/MovieClip.js"></script>
<script type="text/javascript">

	window.onload = function()
	{
		var i, len, ary;
		
		i=0;
		len = 164;
		ary = [];
		
		while( i < len )
		{
			ary.push( "../../view/img/visual0"+NumberUtil.getStringToPlaceNum( i+1, 3 )+".jpg" );
			++i;	
		}
		
		
		var ldr = new ImageMultiLoader( ary, onImgLoadComplete );
	}
	
	
	function onImgLoadComplete( ary )
	{
		var movieClip = new MovieClip( ary, document.getElementById("mc"), 30 );
		movieClip.play();
		movieClip.addFrameScript( movieClip.getTotalFrame(), function(){
			movieClip.gotoAndPlay( 82 );
		});
	}

</script>
</head>

<body>
<div id="mc"></div>
</body>
</html>
